package day3.LC344;

public class Main {
    public static void main(String[] args) {

    }
}

class Solution {
    public void reverseString(char[] s) {
        int sLen=s.length;
        for(int i=0;i<sLen/2;i++){
            char temp=s[i];
            s[i]=s[sLen-1-i];
            s[sLen-1-i]=temp;
        }
    }
}